/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package comunicacao;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author diogo
 */
public interface ReceiveMessageInterface extends Remote {

	//metodo para deitar abaixo o servidor
	public boolean falha() throws RemoteException;

	// metodo para recomeçar o servidor
	public boolean restart() throws RemoteException;
}
